package cn.flying.cloud;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 任务管理启动类
 *
 * @author: admin
 * @date: 2023年12月28日 19:13
 * @version: 1.0
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"cn.flying.**"})
public class TaskMain {
    private static final Logger logger = LoggerFactory.getLogger(TaskMain.class);

    public static void main(String[] args) {
        SpringApplication.run(TaskMain.class, args);
        logger.info("====================测试任务启动成功！=======================");
    }
}